package com.wgb.movie.model.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 影院
 * @TableName theater
 */
@TableName(value ="theater")
@Data
public class Theater implements Serializable {
    /**
     * 影院ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 影院名称
     */
    private String theaterName;

    /**
     * 影院地址
     */
    private String theaterAddress;

    /**
     * 海报URL
     */
    private String theaterIcon;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 是否删除
     */
    @TableLogic
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}